package edu.seu.mart.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 语言消息
 */
public class VoiceMsg extends BaseMsg {
    /**
     * 语音消息媒体id，可以调用多媒体文件下载接口拉取数据
     */
    @XStreamAlias("MediaId")
    private long mediaId;
    /**
     * 语音格式，如amr，speex等
     */
    @XStreamAlias("Format")
    private String format;
    /**
     * 消息id，64位整型
     */
    @XStreamAlias("MsgId")
    private long msgID;

    public long getMediaId() {
        return mediaId;
    }

    public void setMediaId(long mediaId) {
        this.mediaId = mediaId;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public long getMsgID() {
        return msgID;
    }

    public void setMsgID(long msgID) {
        this.msgID = msgID;
    }
}
